import request from '../utils/request.js'
// 获取轮播图
export const getBanner = (type = 0) => {
  return request({
    method: 'GET',
    url: '/banner',
    // type:资源类型,对应以下类型,默认为 0 即 PC,
    params: { type }
  })
}
